<?php
require('smarty/libs/Smarty.class.php');

$smarty = new Smarty();
//class smarty_cms extends Smarty {

//   function smarty_cms()
//   {
        $www_dir = "./"; 
        $smarty->template_dir = $www_dir.'templates/';
        $smarty->compile_dir  = $www_dir.'templates_c/';
  //      $this->config_dir   = './configs/';
 //       $this->cache_dir    = './cache/';
  // }

//}
?>